package com.epfresh.views;

import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.GradientDrawable;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.epfresh.R;
import com.epfresh.api.adapter.CommonAdapter;
import com.epfresh.api.adapter.ViewHolder;
import com.epfresh.api.entity.*;
import com.epfresh.api.entity.RequestTag;
import com.epfresh.api.entity.ResponseEntity;
import com.epfresh.api.entity.TagPager;
import com.epfresh.api.http.OnRequestListener;
import com.epfresh.api.universalimageloader.core.ImageLoader;
import com.epfresh.api.utils.LocalDisplay;
import com.epfresh.api.utils.T;
import com.epfresh.api.widget.list.LoadMoreListView;
import com.epfresh.api.widget.ptr.PtrDefaultHandler;
import com.epfresh.api.widget.ptr.PtrFrameLayout;
import com.epfresh.api.widget.ptr.PtrHandler;
import com.epfresh.api.widget.ptr.PtrMdFrameLayout;
import com.epfresh.bean.Ad;
import com.epfresh.bean.ContentEntity;
import com.epfresh.bean.GoodsParameters;
import com.epfresh.bean.HomeCommTag;
import com.epfresh.bean.ListGoods;
import com.epfresh.global.BaseActivity;
import com.epfresh.utils.ColorUtils;
import com.epfresh.utils.TimeStringUtils;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wzh on 16-7-5.
 */
public class HomeViewPager {

    public interface OnAdListener {
        public void onAd(List<Ad> ads);
    }

    BaseActivity baseActivity;

    AdapterView.OnItemClickListener onItemClickListener;
    List<ListGoods> list = new ArrayList<ListGoods>();

    OnAdListener onAdListener;
/*
    public HomeViewPager(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public HomeViewPager(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        init();
    }*/
    public void init(){

    }

}
